#include"progress.h" 

int main()
{
    int total = 1000;
    int curr = 0;
    while(curr <= total)
    {
        int rate = curr*100/total;

       progressBar(rate);
        curr+=10;
        usleep(100000);
    }

    return 0;
}
